package com.erp.purchase.mapper;

import com.erp.purchase.domain.Product;
import com.erp.purchase.domain.PurOrder;
import com.erp.purchase.domain.PurOrderItem;


import java.util.List;

/**
 * --- 天道酬勤 ---
 *
 * @author hfw
 * @date 2025/9/5
 * @desc
 */
public interface PurOrderAppendMapper {

    List<String> getProductCategoryList();

    List<Product> getProductList(String productName);

    List<Product> getProductListByCategory(String category);

    List<String> getWarehouseList();

    int addOrder(PurOrder purOrder);

    int addOrderItem(List<PurOrderItem> purOrderItemList);

    int getOrderId(String orderNo);

}